<h2>Checkout Order</h2>
<div class="form" >
    <fieldset>
        <?php
        $form = $this->beginWidget('CActiveForm', array(
            'id' => 'order-form',
            'enableAjaxValidation' => false,
                ));
        ?>

        <p class="note">Fields with <span class="required">*</span> are required.</p>
        
        <style type="text/css">
            div .form .errorSummary ul li
            {
                color:red;
            }
        </style>
        <?php echo $form->errorSummary($model); ?>

        <?php echo $form->labelEx($model, 'customerName'); ?><br />
        <?php echo $form->textField($model, 'customerName', array('size' => 50, 'maxlength' => 50)); ?>
        <?php echo $form->error($model, 'customerName'); ?>
        <br />
        <br />

        <?php echo $form->labelEx($model, 'customerEmail'); ?><br />
        <?php echo $form->textField($model, 'customerEmail', array('size' => 50, 'maxlength' => 50)); ?>
        <?php echo $form->error($model, 'customerEmail'); ?>
        <br />
        <br />

        <?php echo $form->labelEx($model, 'customerAddress'); ?><br />
        <?php echo $form->textField($model, 'customerAddress', array('size' => 60, 'maxlength' => 255)); ?>
        <?php echo $form->error($model, 'customerAddress'); ?>
        <br />
        <br />

        <?php echo $form->labelEx($model, 'customerPhone'); ?><br />
        <?php echo $form->textField($model, 'customerPhone', array('size' => 30, 'maxlength' => 30)); ?>
        <?php echo $form->error($model, 'customerPhone'); ?>
        <br />
        <br />

        <?php echo $form->labelEx($model, 'customerCity'); ?><br />
        <?php echo $form->textField($model, 'customerCity', array('size' => 20, 'maxlength' => 20)); ?>
        <?php echo $form->error($model, 'customerCity'); ?>
        <br />
        <br />

        <?php echo $form->labelEx($model, 'customerCountry'); ?><br />
        <?php echo $form->textField($model, 'customerCountry', array('size' => 30, 'maxlength' => 30)); ?>
        <?php echo $form->error($model, 'customerCountry'); ?>
        <br />
        <br />

        <?php echo CHtml::submitButton($model->isNewRecord ? 'Create →' : 'Save →', array("class" => "button")); ?>
        <?php $this->endWidget(); ?>
    </fieldset>
</div><!-- form -->